package com.jeecms.wicool.dao.shops;

import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.shops.DistributionAddress;

import java.util.List;

/**
 * Created by cuiyanlei on 15/7/15.
 */
public interface DistributionAddressDao {

    public DistributionAddress save(DistributionAddress bean);

    public DistributionAddress deleteById(Integer id);

    public DistributionAddress updateByUpdater(Updater<DistributionAddress> updater);

    public Pagination getPage(Integer shopId, String city, String district, String address, Integer pageNo, Integer pageSize);

    public DistributionAddress findById(Integer id);

    public List<DistributionAddress> list(Integer shopId, String city, String district, String address);
}
